Part Number Hot Search : 
STK5324 NJU7017F 2SK2959 0181B SMC33C 1000A PZU12B FP5544
Product Description
Full Text Search
 

To Download 78M6613-PSU-1 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  78m6613 psu firmware quick s tart guide may 4 , 2012 rev. 0 ug_ 6613 _ 113 downloaded from: http:/// available
78m 6613 psu firmware quick start guide ug_6612_113 maxim integrated 160 rio robles, san jose, ca 95134 usa 1-408-601-1000 maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a maxim product. no circuit patent licenses are implied. maxim reserves the right to change the circuitry and specifications without notice at any time. the parametric values (min and max limits) shown in the electrical characteristics table are guaranteed. other parametric values quoted in this data sheet are provided for guidance. ? 2012 maxim integrated the maxim logo and maxim integrated are trademarks of maxim integrated products, inc. downloaded from: http:///
ug_6613_113 78m 6613 psu firmware quick start guide rev. 0 3 t able of contents 1 introduction ......................................................................................................................................... 4 1.1 whats included with an evk? ...................................................................................................... 5 1.2 whats included with an sdk? ...................................................................................................... 6 1.3 other development tools ............................................................................................................. 6 1.3.1 socketed flash programming board ................................................................................ 6 1.3.2 compiler and integrated development environment (ide) ............................................... 7 1.3.3 in - circuit emulator (ice) ................................................................................................... 7 1.3.4 tfp2 flash programmer ................................................................................................... 8 2 getting started with the evk ............................................................................................................. 9 2.1 usb driver installation .................................................................................................................. 9 2.2 connecting the evaluation board to the pc ................................................................................. 9 2.3 getting ready to measure ac energy ......................................................................................... 9 2.4 read energy measurement data ................................................................................................ . 9 2.5 calibration ..................................................................................................................................... 9 3 getting started with the sdk ........................................................................................................... 10 3.1 required hardware and software development tools .............................................................. 10 3.1.1 running the psu application software ........................................................................... 10 3.1.2 modifying the application code ....................................................................................... 10 3.2 opening the project with keil uvision tools ............................................................................... 10 3.3 rebuilding the application .......................................................................................................... 11 3.3.1 without the boot loader .................................................................................................. 11 3.3.2 with the boot loader and crc ....................................................................................... 11 3.4 downloading the *.abs file to the target ................................................................................... 12 4 getting started with flash programming ....................................................................................... 13 4.1 via the gui ................................................................................................................................ . 13 4.2 via thetfp2 flash programming tool ....................................................................................... 15 4.3 via the adm - 51 emulator ........................................................................................................... 17 5 contact information .......................................................................................................................... 19 revision history ........................................................................................................................................ 19 downloaded from: http:///
78m 6613 psu firmware quick start guide ug_6612_113 4 rev.0 1 introduction the 78m6613 psu f irmware is a turnkey energy measurement solution optimized for use in ac power supply units (psus) . at the sensor interface, the 78m6613 with psu firmware supports one voltage sense input one current sense input, and an optional input for an external thermistor voltage measurement . at the host interface, ready - to - use data is available over a low baud - rate serial interface for minimal cost of data isolation . other key attributes of the psu solution for the 78m6613 include: ? integrated xy capacitors compensation algorithms and calibration techniques unique to psus for measuring after the emi filter (before bridge) . critical for a manufacturable solution and precision accuracy over entire load range . ? accumulation intervals based on number of ac - cycles with a minimum of 4 ac cycles for real - time feedback (15 hz refresh rate) . ? dual - mode serial interface: 1 - wi r e aut o- reporting interface mode and 2 - wire command response interface mode . ? low - latency alarms for sag and ac dropout detection . fully functional demo code can be evaluated in an evaluation kit (evk) and used as is in most applications . it can also serve as starting base for customization and adaptation to different needs with a n optional s oftware d evelopment k it (sdk) . this document overviews the steps for ? getting started with the evk ? getting started with the sdk ? getting started with flash programming downloaded from: http:///
ug_6613_113 78m 6613 psu firmware quick start guide rev. 0 5 1.1 whats i ncluded with an evk ? the psu evaluation kit (evk) includes t he 78m6613 psu board (p/n 78m6613 - psu - 1) demonstrating an example modular daughter card for measurements of a single phase ac load or power supply . the small daughter card incorporates the 78m6613 power and energy measurement ic and plugs into a host adaptor board that includes sensors, connection to ac mains, and an isolated se rial port connection to a windows pc. ice adaptor board usb cable cdrom with documentation and gui 78m6613 psu board (and provided host board) the 78m6613 on the board is pre - programmed with psu demo code and calibrated at the factory . the 78m6613 energy measurement data and status is read back over the serial uart interface presented to the pc as a virtual com port . the 78m6613 psu eval kit requires a pc with microsoft? windows xp or win2000 with a usb port and a minimum 1024 x 768 video display resolution . an ac source and load complete the rest of the test setup needed to collect measurements. 78m6613 psueval kit usb load under test host pc 120/240v single phase ac source downloaded from: http:///
78m 6613 psu firmware quick start guide ug_6612_113 6 rev.0 1.2 whats included with an sdk ? the sdk contains all the required elements for a variety of usages. for the user who would like to evaluate the application in their own hardware , pre - built image files are available. loading these image files into a 78m6613 will allow running the application as provided. a demonstration pc - based graphical user interface ( gui ) is also provided and may be used to send configuration commands to and read out measurement data from the psu application. users who would like to develop their own applications have access to application level source code to use as a baseline . energy measu rement functions are provided in object code format and with a documented application programming interface ( api ). an sdk user guide describes how to use development tools to modify the project code. post processing tools, such as crc insertion also includ ed in the sdk package. the 78m 6613 psu sdk includes the following components : ? this quick start guide ? 78m6613 psu sdk 2.0 user guide ? 78m6613 psu demo application user guide ? 78m6613 firmware boot loader functional specification ? emsoc s d k 2.0 serial as y nchronous interface protocol specification ? additional application notes 1.3 other development tools this section describes other items available for purchase through maxim or third parties. 1.3.1 socketed flash programming board the 78m66 13 socket board is a socke ted fixture for flash programming 78m66 13 devices in small quantities . it allow s for loading program memory into 78m66 13 socs via either the in - circuit emulator (ice) interface , tfp2 , or the serial boot loader (uart) interface if the device already contains the boot loader in flash . the 78m6 6 13 socket board ( p/n 78m6613 - socket32) includes: ? 78m66 13 socket board ? cdrom with usb driver, gui software, and documentation downloaded from: http:///
ug_6613_113 78m 6613 psu firmware quick start guide rev. 0 7 1.3.2 compiler and integrated development environment (ide) maxim recommends using the pk 51 professional developers kit by keil ? ( www.keil.com ), containing the vision 4 integrated development environment (ide), complete with 8051 assembler, editor, c compiler, linker, and locator . the demo code shipped with the demo kits for maxim ac power monitoring ics was written using this tool. keil offers the best support for the memory model of the 80515 core used in the 78m661 3 ics. it is possible to use alternative compilers, but the code for these is not supported by maxim . while all demo code is written using the standard ca51 tool by keil, significant improv ements in memory usage can be made by using the pk51 professional developers kit by keil. the pk51 c ontains the lx51 advanced linker that can reduce code size using special optimization techniques. 1.3.3 in - circuit emulator (ice) the signum systems adm - 51 (www.signum.com) is compatible with the keil symbolic output format and supports the 78m6613. it is useful to perform the following tasks: ? code emulation with brea kpoints, watch windows, etc., with support of source code symbols ? memory monitoring and manipulation (sfrs, xram, i/o ram) ? flash erase and code loading into flash memory of the 78m6613 maxim supplies the adm - 51 to customers at a preferred price (p/n db6612 - adm51) along with an isolated usb cable . downloaded from: http:///
78m 6613 psu firmware quick start guide ug_6612_113 8 rev.0 1.3.4 tfp2 flash programmer the signum adm - 51 can serve as a programmer for prototyping and small quantities. for programming pro duction quantities, maxim offers the tfp2 flash programming module (p/n 80515 - fpbm - tfp2), which is a stand - alone programmer that can be operated manually or in an ate environment. the tfp2 offers the following features: ? stand - alone or pc - controlled programming ? variable flash memory size ( selectable to match target devices memory size ? leds and signal outputs for pass and fail ? pushbutton and digital control inputs compatible with ate ? can erase and re - program ics overrid i ng the secure bit set for more information, see the flash programmer model tfp2 users manual . downloaded from: http:///
ug_6613_113 78m 6613 psu firmware quick start guide rev. 0 9 2 getting started with the evk this section describes the necessary steps to get the pre - built application up and running. note that some of the steps are only required once when the setup is installed for the first time. 2.1 usb driver installation the evaluation kit includes an isolated usb interface for serial communications with a pc. the ftdi usb controller ic ft232r performs the usb functions. refer to the 78m6613 psu evaluation board user manual for information about usb driver installation. 2.2 connecting the evaluation board to the pc do not apply ac power to the board yet! connect the 78m6613 evaluation board to a usb port of the pc using the provided usb cable. the board is powered through this connection. if installed for the first time, the pc will pr ompt you to install a usb - com driver. refer to the 78m6613 psu evaluation board user manual for more information . 2.3 getting ready to measure ac e nergy r efer to the included safety precautions application note and 78m6613 psu e valuation b oard user m anual for detailed instructions if not already familiar with energy measurement, and for trouble shooting tips. 2.4 read energy measurement d ata the gui application is now ready to be used to read energy measurement data and verify that the hardware and software work properly. refer to the 78m6613 demo application user guide for more information. 2.5 calibration all evaluation kits come pre - cali brated to a precision source. note: c alibration requires connection of a reference power supply and a reference load that are mo re accurate than the desired calibrated accuracy . for more information, refer to the 78m661x calibration procedure . downloaded from: http:///
78m 6613 psu firmware quick start guide ug_6612_113 10 rev.0 3 getting started with the sdk 3.1 required hardware and software development tools 3.1.1 running the psu application software the psu demo application can be used without purchasing software development tools. the prebuilt image file can be downloaded to the 78m6613 device via one of the following methods : ? the uart interface using the 78m6613 boot loader (target 78m6613 device must already ha v e boot l oader code) ? the ice interface using tfp2 flash programmer tool (sold separately) ? the ice interface using the adm - 51 emulator (sold separately by signum systems corporation ) 3.1.2 modifying the application code the project application code can be modified and adapted using the keil development tool suite for the 8051 processor and the adm - 51 emulator. a) keil uvision4, version 9.0 and higher (http://www.keil.com/uvision) b) adm - 51 emulator (http://www.signum.com/signum.htm) 3.2 opening the project with keil uvision t ools the project is loaded into the development tools by opening the file 6613_psu_app.uvproj in the \ application folder. the project files are organized in folders, such as metrology, drivers, communication, et c, as can be seen below. downloaded from: http:///
ug_6613_113 78m 6613 psu firmware quick start guide rev. 0 11 3.3 rebuilding the a pplication the application can be built with or without inclusion of the boot loader utility. 3.3.1 without the boot l oader building the application without the boot loader entails that software updates in the end product are possible only by connecting the tfp2 or adm - 51 tools to the ice interface port. however, 1 k b of flash memory is freed when the boot loader is not included, which can be used by the application itself. select target psu_noboot from the drop down list (encircled in the figure above) and press f7 to build the project. a successful run produces two output files in the \ application \ obj folder. the * .abs file is most suited to be used by the emulator for deb ugging. the *. hex file is an image file best suited for the tfp2 programmer, and contains no debugging information. the *. hex file is not suitable for the tfp2 unless the chksum utility is fist used to process the file into the proper format. see the flash programmer model tfp2 users manual on how to use the chksum utility. 3.3.2 with the boot loader and crc the boot loader requires 1 kb of memory and insertion of crc codes into the image file. b uilding an application with the boot loader utility allows for su bsequent firmware upgrades via the serial interface (rs - 232 or rs - 485) connected to the host. select target psu_boot from the drop - down list and press f7 to build the project. a successful run produces two output files in the \ application \ obj folder. the * .abs file is most suited to be used by the emulator for debugging. the *.hex file is an image file best suited for the tfp2 programmer, and contains no debugging information. it should be noted that the *.hex output file needs to be post - processed in order to calculate and insert the crc values. the hex2crchex.exe application is included, in the tools folder of the sdk, to perform the post - compiling crc insertion into the hex file. the resulting hex file is renamed with crc added in the name . for exampl e: psu_6613_v1_00_crc.hex is generated by the hex2crchex.exe tool using input file psu_6613_v1_00.hex . the project settings are such that this tool is invoked by default, as shown here: downloaded from: http:///
78m 6613 psu firmware quick start guide ug_6612_113 12 rev.0 3.4 dow nloading the *.abs file to the t arget the adm - 51 emulator is used to download the *.abs file to the evm board. once downloaded, the developer can run, stop and debug the application. familiarity with the adm - 51 debugging tools is assumed for the purpose of this document. downloaded from: http:///
ug_6613_113 78m 6613 psu firmware quick start guide rev. 0 13 4 getting started with flash progr amming 4.1 via the gui if t he firmware includes a boot loader, the following steps describe how to use the gui to upgrade the firmware using the boot loader: 1. on the sai command s tab, click the invoke boot loader mode button near the lower - left corner. 2. power cycle the device. it will enter the boot load mode. this can be verified by observing the dio4 pin, which produces 15 ms pulses when the boot loader is in operation . downloaded from: http:///
78m 6613 psu firmware quick start guide ug_6612_113 14 rev.0 3. o n the bootloader tab, c lick the load new hex file button and select the hex file for the upgrade. 4. the gui will show progress during the firmware upgrade. when th e status bar shows 100%, the firmware upgrade is completed and the new firmwar e application is running. downloaded from: http:///
ug_6613_113 78m 6613 psu firmware quick start guide rev. 0 15 4.2 via thetfp2 flash programming tool refer to the flash programmer model tfp2 users manual for more detailed instructions if necessary. 1. connect the tfp2 programmer to the evaluation board via the ribbon cable and connect the serial cable to the pc. make sure the 78m6613 is connected to 3.3v . the memory size switch must be set to 32 kb for the 78m6613 target device . 2. start a terminal program. in the example , hyper terminal was used. set the connection to the proper com port and set it to 38400, n, 1, xonxoff. a prompt should appear. 3. type the h command at the > prompt on the terminal and select transfer C > s end t ext f ile (as shown below ). do not select send file . this . hex file must have previously bee n processed with the chksum .exe utility. 4. wait for the hex file to get transferred to tfp2 internal eeprom. once complete, a pass mes sage should appear as seen below. downloaded from: http:///
78m 6613 psu firmware quick start guide ug_6612_113 16 rev.0 5. t o program the devices f lash using the f lash image that was just programmed in the tfp2s eeprom in steps 3 and 4 above, type the p command at the > prompt or simply push the program button on the tfp2 . i f the programming is successful, a pass message will be displayed. the firmw are programming is now complete . downloaded from: http:///
ug_6613_113 78m 6613 psu firmware quick start guide rev. 0 17 4.3 via the adm - 51 emulator refer to the signum system adm - 51 emulator documentation if necessa ry. 1. connect the adm - 51 to the pc using the isolated usb cable. connect the target board to a dm- 51 emulator using the ribbon cable and power up the 78m 6613 device. 2. start the wemu51 program from the connected pc. 3. stop the ce by writing 0x00 at xram address 0x2000 ( see the xdata memory window below). 4. use file - >load to select the hex file for programming. downloaded from: http:///
78m 6613 psu firmware quick start guide ug_6612_113 18 rev.0 5. browse using the hex file type , or abs file type (see s ection 3.4) . 6. click ok to start the programming. the progress will be shown in the progress bar. 7. once progress is 100%, the firmware programming is complete. downloaded from: http:///
ug_6613_113 78m 6613 psu firmware quick start guide rev. 0 19 5 contact information for more information about maxim products or to check the availability of the 78m6613 , contact technical support at www.maxim - ic.com/support . revision history revision number revision date description pages changed 0 5/4/ 12 first publication . C downloaded from: http:///


▲Up To Search▲   

 
Price & Availability of 78M6613-PSU-1

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X